﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DMHelper.Models
{
    public class spellInfoPerLevel
    {
        public NumericalField spellsKnown = new NumericalField();
        public NumericalField spellSaveDC = new NumericalField();
        public NumericalField spellPerDay = new NumericalField();
        public NumericalField bonusSpells = new NumericalField();
    }
    public class MagicContainer
    {
        public StringField school;
        public NumericalField arcaneFailure;
        public NumericalField spellSave;
        private spellInfoPerLevel[] spellInfos = new spellInfoPerLevel[10];

        public spellInfoPerLevel spellInfo(int Level)
        {
            return spellInfos[Level];
        }
    }
}